#include <stdio.h>

#define ADJUST 7.31 // 字符常量

int main(void)
{
    printf("\n");

    const double SCALE = 0.333; // const变量

    double shoe, foot;

    printf("Shoe size (men's) foot length\n");

    shoe = 3.0;
    while (shoe < 18.5)
    {
        foot = SCALE * shoe + ADJUST;
        printf("%10.1f %15.2f inches\n", shoe, foot);
        shoe++;
    }

    printf("If the shoe fits, wear it.\n");

    return 0;
}